package com.lening.mapper;

import com.lening.entity.MajorBean;
import com.lening.entity.MajorBeanExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface MajorMapper {
    long countByExample(MajorBeanExample example);

    int deleteByExample(MajorBeanExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MajorBean record);

    int insertSelective(MajorBean record);

    List<MajorBean> selectByExample(MajorBeanExample example);

    MajorBean selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MajorBean record, @Param("example") MajorBeanExample example);

    int updateByExample(@Param("record") MajorBean record, @Param("example") MajorBeanExample example);

    int updateByPrimaryKeySelective(MajorBean record);

    int updateByPrimaryKey(MajorBean record);
}